package com.talos.ums.controller.admin.useracounttype.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "管理后台 - 账号类型新增/修改 Request VO")
@Data
public class UmsUserAcountTypeSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "16852")
    private Long id;

    @Schema(description = "用户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "29508")
    @NotNull(message = "用户id不能为空")
    private Long userId;

    @Schema(description = "账号类型：内部账号-inner，货主账号-company，货主客户账号-company_customer，承运商账号-carrier，其他账号-other", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotEmpty(message = "账号类型：内部账号-inner，货主账号-company，货主客户账号-company_customer，承运商账号-carrier，其他账号-other不能为空")
    private String acountType;

    @Schema(description = "账号类型描述：内部账号-inner，货主账号-company，货主客户账号-company_customer，承运商账号-carrier，其他账号-other", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "账号类型描述：内部账号-inner，货主账号-company，货主客户账号-company_customer，承运商账号-carrier，其他账号-other不能为空")
    private String acountTypeDesc;

    @Schema(description = "其他信息", example = "随便")
    private String remark;

}
